<?php
function posts_in_cat( $atts ) {
    extract( shortcode_atts( array(
        'cat_id' => '1'
    ), $atts ) );
    $args = array( 'posts_per_page' => 5, 'offset'=> 1, 'category' => $cat_id );

        $myposts = get_posts( $args );
    ob_start();
    ?><ul><?php
    foreach ( $myposts as $key => $post ){
        setup_postdata( $post );
        if($key == 0){
            ?>
            <li>
                <a href="<?php the_permalink();?>"><?php the_post_thumbnail()?></a>
                <h1 class="entry-title"><?php the_title(); ?></h1>
                <div class="entry-content">
                    <?php the_content(_e('View more'))?>
                </div>
            </li>
        <?php }
        else {?>
            <li>
                <a href="<?php the_permalink()?>"><?php the_title()?></a>
            </li>
        <?php }
    }?>
    </ul><?php
    wp_reset_postdata();
    $html = ob_get_clean();
    return $html;
}
add_shortcode( 'posts_in_cat', 'posts_in_cat' );

function show_area($attr){
    extract( shortcode_atts( array(
        'area_id' => ''
    ), $attr ) );
    if($area_id == '')
        return '';
    ob_start();
    dynamic_sidebar($area_id);
    $html = ob_get_clean();
    return $html;
}
add_shortcode( 'show_area', 'show_area' );
?>